object ArithmeticOpDemo {
  def main(args:Array[String]): Unit = {
    val mathScore: Int = 88
    val chineseScore: Int = 93
    val englishScore: Int = 85
    val totalScore: Int = mathScore + chineseScore + englishScore
    val avgScore: Double = totalScore.toDouble / 3
    println(s"学生总分:$totalScore 分")
    println(s"学生平均分:${"%.1f".format(avgScore)}分")
  }
}
